package com.android.porttallymansystem.logic

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.android.porttallymansystem.logic.model.User

object Setting {

    private val userLiveData = MutableLiveData<User>()

    val user: LiveData<User> get() = userLiveData

    init {
        userLiveData.value = null
    }

    fun setUser(user: User) {
        userLiveData.value = user
    }
}